<template>
	<view>
		<view class="top">
			<view class="">
				<navigator url="/pages/yonghu1/order/order">
					<image class="back" src="/static/images/白色左箭头.png" mode=""></image>
				</navigator>
				<view class="title">
					选择车辆
				</view>
			</view>
		</view>
		<uni-card style="margin-top: -100px;">
			<view class="yhq">
				<image style=" margin-top: 5px; height:60px;width: 60px; border-radius: 30px;" src="../../../static/images/天安门.jpg"
					mode=""></image>
				<view style="margin-left: 10px; margin-top: 13px;">
					<view style="font-size: 15px;font-weight: bold;">
						车型：奔驰-GR
					</view>
					<view style="font-size: 13px;margin-top: 5px;">
						车牌：豫M35468
					</view>
				</view>
				<view class="radio">
					<radio value="" :checked="checked" @click="select"/>
				</view>
			</view>
		</uni-card>
		<uni-card style="margin-top: 10px;">
			<view class="yhq">
				<image style=" margin-top: 5px; height:60px;width: 60px; border-radius: 30px;" src="../../../static/images/天安门.jpg"
					mode=""></image>
				<view style="margin-left: 10px; margin-top: 13px;">
					<view style="font-size: 15px;font-weight: bold;">
						车型：奔驰-GR
					</view>
					<view style="font-size: 13px;margin-top: 5px;">
						车牌：豫M35468
					</view>
				</view>
				<view class="radio">
					<radio value="" :checked="checked" @click="select"/>
				</view>
			</view>
		</uni-card>
		<view class="dibu">
			<navigator >
				<view style="margin-left: 25rpx; border-radius: 20px; line-height: 30px; width: 350px;height: 30px;background-color: #0D65E8; color: white;">
					+ 添加车辆
				</view>
			</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				checked:false
			}
		},
		methods: {
			select(){
				this.checked = !this.checked
			}
		}
	}
</script>

<style scoped>
	.radio{
		margin-top: 22px;
		margin-left: 100px;
		border-radius: 8px;
	}
	
	.dibu{
		text-align: center;
		position: fixed;
		bottom: 10px;
	}
	
	.yhq {
		width: 310px;
		height: 80px;
		margin-top: 10px;
		border-radius: 10px;
		display: flex;
	}

	.top {
		width: 100%;
		padding-bottom: 120px;
		background: url(../../../static/images/组 8.png);
		background-repeat: no-repeat;
		background-size: cover;
	}

	.top .back {
		position: absolute;
		margin-left: 20px;
		margin-top: 30px;
		width: 15px;
		height: 15px;
		z-index: 2;
	}

	.top .title {
		text-align: center;
		font-size: 18px;
		color: #fff;
		line-height: 44px;
		/* 根据实际需要调整 */
		padding-top: 20px;
	}
</style>